//
//@author jltxseo
// Created by junlintianxia on 2018/7/27.
//


#include "XqLog.h"

void printGLString(const char* tag,const char *name, GLenum s) {
    const char *v = (const char *) glGetString(s);
    LOGI(tag,"GL %s = %s \n", name, v);
}

void checkGlError(const char* tag,const char *op) {
    for (GLint error = glGetError(); error; error = glGetError()) {
        LOGI(tag,"after %s() glError (0x%x)\n", op, error);
    }
}


